package com.lyf.dao;

import java.util.List;

import com.lyf.dao.base.BaseDao;
import com.lyf.pojo.SingleFile;

public class FileDao extends BaseDao<SingleFile,String>{

	
	public List<SingleFile> findByFolderId(String id){
		String hql = "from SingleFile where t_folder_id = ? order by f_createTime desc";
		return findByAllHql(hql, id);
	}
	

}
